package com.example.mybatisplus.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.mybatisplus.model.domain.BedManagment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mybatisplus.model.dto.PageDTO;
import org.springframework.stereotype.Service;

import java.util.List;
import com.example.mybatisplus.model.vo.StatVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ablbb
 * @since 2024-07-18
 */
@Service
public interface BedManagmentService extends IService<BedManagment> {

    Page<BedManagment> pageList(BedManagment bedManagment, PageDTO dto);

    void generateRooms(String buildingId, int floor, int roomNumber);
    List<StatVO> statbed();
}
